﻿using System.Windows.Browser;
using System.Windows.Controls;

namespace HelloWorld.Controls
{
    /// <summary>
    /// Expose the Checked member
    /// </summary>
    [ScriptableType]
    public class MyRadioButton : RadioButton
    {
        public new bool Checked
        {
            get
            {
                return base.IsChecked.GetValueOrDefault(false);
            }

            set
            {
                base.IsChecked = value;
            }
            
        }

    }
}
